/*
 * @Autor: dingxiaolin
 * @Date: 2021-04-09 14:25:14
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-05-25 09:14:08
 */
import { createApp } from 'vue'
import '@/style/index'; // global css
import 'lib-flexible';
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import ElementPlus from 'element-plus';
import * as echarts from 'echarts'

const app = createApp(App)
app.use(Vant);
app.use(ElementPlus, { size: 'small', zIndex: 3000 });
app.use(store).use(router).mount('#app')

app.config.globalProperties.$store = store;
app.config.globalProperties.$echarts = echarts

// if (process.env.VUE_APP_ENVIRONMENT != "productionEnv") {
//     const VConsole = require('vconsole')
//     const app_console = new VConsole()
// }

console.log(import.meta.env)